#! /bin/bash

cd workspace/fusion
javac -Xlint:unchecked -cp poounit.jar  src/tec/*.java  src/poounit/*.java -d build
jar cf fusion.jar -C ./build/ tec/ 
javac -Xlint:unchecked -cp fusion.jar:poounit.jar  src/poounit/*.java -d build 
jar cf poounit.jar -C ./build/ poounit/ 
java -ea -cp fusion.jar:poounit.jar tec.LancerTests
if test -r log.txt
then
    mv log.txt ../../
fi